CELL_MK_DIR := ./mk

include $(CELL_MK_DIR)/sdk.makedef.mk

OBJS_DIR := ./temp/ps3
PPU_OPTIMIZE_LV := -O2
PPU_INCDIRS		:= -Iinclude -Isrc/libpng -Isrc/zlib
PPU_CPPFLAGS	:= -D_LIB -D_DEBUG -D_PS3 -D_IRR_STATIC_LIB_
PPU_CXXSTDFLAGS += -fno-exceptions
PPU_SRCS	:=  \
				src/zlib/adler32.c \
				src/zlib/compress.c \
				src/zlib/crc32.c \
				src/zlib/deflate.c \
				src/zlib/gzio.c \
				src/zlib/infback.c \
				src/zlib/inffast.c \
				src/zlib/inflate.c \
				src/zlib/inftrees.c \
				src/zlib/trees.c \
				src/zlib/uncompr.c \
				src/zlib/zutil.c \
				src/libpng/png.c \
				src/libpng/pngerror.c \
				src/libpng/pnggccrd.c \
				src/libpng/pngget.c \
				src/libpng/pngmem.c \
				src/libpng/pngpread.c \
				src/libpng/pngread.c \
				src/libpng/pngrio.c \
				src/libpng/pngrtran.c \
				src/libpng/pngrutil.c \
				src/libpng/pngset.c \
				src/libpng/pngtest.c \
				src/libpng/pngtrans.c \
				src/libpng/pngvcrd.c \
				src/libpng/pngwio.c \
				src/libpng/pngwrite.c \
				src/libpng/pngwtran.c \
				src/libpng/pngwutil.c \
				src/C3DSMeshFileLoader.cpp \
				src/CAnimatedMeshMD2.cpp \
				src/CAnimatedMeshMD3.cpp \
				src/CAnimatedMeshSceneNode.cpp \
				src/CAttributes.cpp \
				src/CB3DMeshFileLoader.cpp \
				src/CBillboardSceneNode.cpp \
				src/CBoneSceneNode.cpp \
				src/CBSPMeshFileLoader.cpp \
				src/CCameraSceneNode.cpp \
				src/CColladaFileLoader.cpp \
				src/CColladaMeshWriter.cpp \
				src/CColorConverter.cpp \
				src/CCSMLoader.cpp \
				src/CCubeSceneNode.cpp \
				src/CD3D9Driver.cpp \
				src/CD3D9HLSLMaterialRenderer.cpp \
				src/CD3D9NormalMapRenderer.cpp \
				src/CD3D9ParallaxMapRenderer.cpp \
				src/CD3D9ShaderMaterialRenderer.cpp \
				src/CD3D9Texture.cpp \
				src/CDefaultGUIElementFactory.cpp \
				src/CDefaultSceneNodeAnimatorFactory.cpp \
				src/CDefaultSceneNodeFactory.cpp \
				src/CDMFLoader.cpp \
				src/CDummyTransformationSceneNode.cpp \
				src/CEmptySceneNode.cpp \
				src/CFileList.cpp \
				src/CFileSystem.cpp \
				src/CFPSCounter.cpp \
				src/CGeometryCreator.cpp \
				src/CGUIButton.cpp \
				src/CGUICheckBox.cpp \
				src/CGUIColorSelectDialog.cpp \
				src/CGUIComboBox.cpp \
				src/CGUIContextMenu.cpp \
				src/CGUIEditBox.cpp \
				src/CGUIEnvironment.cpp \
				src/CGUIFileOpenDialog.cpp \
				src/CGUIFont.cpp \
				src/CGUIImage.cpp \
				src/CGUIImageList.cpp \
				src/CGUIInOutFader.cpp \
				src/CGUIListBox.cpp \
				src/CGUIMenu.cpp \
				src/CGUIMeshViewer.cpp \
				src/CGUIMessageBox.cpp \
				src/CGUIModalScreen.cpp \
				src/CGUIScrollBar.cpp \
				src/CGUISkin.cpp \
				src/CGUISpinBox.cpp \
				src/CGUISpriteBank.cpp \
				src/CGUIStaticText.cpp \
				src/CGUITabControl.cpp \
				src/CGUITable.cpp \
				src/CGUIToolBar.cpp \
				src/CGUITreeView.cpp \
				src/CGUIWindow.cpp \
				src/CImage.cpp \
				src/CImageLoaderPNG.cpp \
				src/CImageWriterPNG.cpp \
				src/CIrrDeviceAndroid.cpp \
				src/CIrrDeviceLinux.cpp \
				src/CIrrDevicePS3.cpp \
				src/CIrrDeviceStub.cpp \
				src/CIrrDeviceWin32.cpp \
				src/CIrrMeshFileLoader.cpp \
				src/CIrrMeshWriter.cpp \
				src/CLightSceneNode.cpp \
				src/CLimitReadFile.cpp \
				src/CLMTSMeshFileLoader.cpp \
				src/CLogger.cpp \
				src/CLWOMeshFileLoader.cpp \
				src/CMD2MeshFileLoader.cpp \
				src/CMD3MeshFileLoader.cpp \
				src/CMemoryFile.cpp \
				src/CMeshCache.cpp \
				src/CMeshManipulator.cpp \
				src/CMeshSceneNode.cpp \
				src/CMetaTriangleSelector.cpp \
				src/CMountPointReader.cpp \
				src/CMS3DMeshFileLoader.cpp \
				src/CMY3DMeshFileLoader.cpp \
				src/CNPKReader.cpp \
				src/CNullDriver.cpp \
				src/COBJMeshFileLoader.cpp \
				src/COBJMeshWriter.cpp \
				src/COCTLoader.cpp \
				src/COctreeSceneNode.cpp \
				src/COctreeTriangleSelector.cpp \
				src/COGLES2Driver.cpp \
				src/COGLES2ExtensionHandler.cpp \
				src/COGLES2FixedPipelineShader.cpp \
				src/COGLES2NormalMapRenderer.cpp \
				src/COGLES2ParallaxMapRenderer.cpp \
				src/COGLES2Renderer2D.cpp \
				src/COGLES2SLMaterialRenderer.cpp \
				src/COGLES2Texture.cpp \
				src/COGLESDriver.cpp \
				src/COGLESExtensionHandler.cpp \
				src/COGLESTexture.cpp \
				src/COgreMeshFileLoader.cpp \
				src/COpenGLDriver.cpp \
				src/COpenGLExtensionHandler.cpp \
				src/COpenGLNormalMapRenderer.cpp \
				src/COpenGLParallaxMapRenderer.cpp \
				src/COpenGLShaderMaterialRenderer.cpp \
				src/COpenGLSLMaterialRenderer.cpp \
				src/COpenGLTexture.cpp \
				src/COSOperator.cpp \
				src/CPakReader.cpp \
				src/CParticleAnimatedMeshSceneNodeEmitter.cpp \
				src/CParticleAttractionAffector.cpp \
				src/CParticleBoxEmitter.cpp \
				src/CParticleCylinderEmitter.cpp \
				src/CParticleFadeOutAffector.cpp \
				src/CParticleGravityAffector.cpp \
				src/CParticleMeshEmitter.cpp \
				src/CParticlePointEmitter.cpp \
				src/CParticleRingEmitter.cpp \
				src/CParticleRotationAffector.cpp \
				src/CParticleScaleAffector.cpp \
				src/CParticleSphereEmitter.cpp \
				src/CParticleSystemSceneNode.cpp \
				src/CPLYMeshFileLoader.cpp \
				src/CPLYMeshWriter.cpp \
				src/CQ3LevelMesh.cpp \
				src/CQuake3ShaderSceneNode.cpp \
				src/CReadFile.cpp \
				src/CSceneCollisionManager.cpp \
				src/CSceneManager.cpp \
				src/CSceneNodeAnimatorCameraFPS.cpp \
				src/CSceneNodeAnimatorCameraMaya.cpp \
				src/CSceneNodeAnimatorCollisionResponse.cpp \
				src/CSceneNodeAnimatorDelete.cpp \
				src/CSceneNodeAnimatorFlyCircle.cpp \
				src/CSceneNodeAnimatorFlyStraight.cpp \
				src/CSceneNodeAnimatorFollowSpline.cpp \
				src/CSceneNodeAnimatorRotation.cpp \
				src/CSceneNodeAnimatorTexture.cpp \
				src/CShadowVolumeSceneNode.cpp \
				src/CSkinnedMesh.cpp \
				src/CSkyBoxSceneNode.cpp \
				src/CSkyDomeSceneNode.cpp \
				src/CSphereSceneNode.cpp \
				src/CSTLMeshFileLoader.cpp \
				src/CSTLMeshWriter.cpp \
				src/CTarReader.cpp \
				src/CTerrainSceneNode.cpp \
				src/CTerrainTriangleSelector.cpp \
				src/CTextSceneNode.cpp \
				src/CTriangleBBSelector.cpp \
				src/CTriangleSelector.cpp \
				src/CVideoModeList.cpp \
				src/CVolumeLightSceneNode.cpp \
				src/CWaterSurfaceSceneNode.cpp \
				src/CWriteFile.cpp \
				src/CXMeshFileLoader.cpp \
				src/CXMLReader.cpp \
				src/CXMLWriter.cpp \
				src/CZipReader.cpp \
				src/Irrlicht.cpp \
				src/irrXML.cpp \
				src/os.cpp
				
PPU_LIB_TARGET	:= ./lib/fengine.a

include $(CELL_MK_DIR)/sdk.target.mk

